//
//  ContactManager.h
//  OC6_数组&集合课后作业练习2
//
//  Created by dllo on 15/10/31.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
@class Contact;

@interface ContactManager : NSObject

@property (nonatomic, retain) NSMutableDictionary *data;

- (id)init;

- (void)addPerson:(Contact *)contact;

- (void)infoAllContact;

- (NSMutableArray *)sortByNameForKey:(NSString *)key;

- (NSMutableArray *)searchByPhonenum:(NSString *)phone;

- (NSMutableArray *)sortByAgeForFemale;

- (void)deleteByName:(NSString *)name;

- (void)deleteByKey:(NSString *)key;




@end
